|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDocument
This interface represents an abstract document that can be represented in an XML structure.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_CONTENT_TYPE
The daefualt content type (text/xml). |
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Returns a string representing the MIME type of XML document this instance produces. |
java.lang.String |
getDocumentType()
Returns a string representing the dialect of XML document this instance produces. |
javax.xml.transform.Source |
toXMLSource()
Creates and returns an XML representation of this document. |
| Field Detail |
|---|
static final java.lang.String DEFAULT_CONTENT_TYPE
| Method Detail |
|---|
java.lang.String getDocumentType()
java.lang.String getContentType()
javax.xml.transform.Source toXMLSource()
throws java.lang.IllegalStateException
javax.xml.transform API.
java.lang.IllegalStateException - If any aspect of this document's state
prevents it from being transformed into XML.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||